<script setup>
    import { ref } from 'vue'

    const msg=ref('Hello vue')

    const url=ref('http://www.baidu.com')

    const imgUrl=ref(
      'https://www.trjcn.com/upfile/investors/20190325/thumb_1553507210.7143.jpg'
    )
</script>

<template>
  <!-- 不简写-->
  <div v-bind:title="msg">
    {{ msg }}
  </div>

  <!-- 简写-->
   <div :title="msg">
    {{ msg }}
   </div>
  
   <a :href="url">百度</a>

   <!-- 不写:是写死的-->
    <a href="url">百度</a>

    <img
      :src="imgUrl"
      alt=""/>
</template>



<style scoped>

</style>